{include file="common/header.tpl"}
{if $AppUI->id <= 0}
	{include file="index/login.tpl"}  
{else}
	{include file="common/menu.tpl"}
    <div class="rightColumn">
    	<div class="boxContent">
        	<div class="contentItem">
                <div class="contentItems">
                	<div class="headerTitle"><h2><a href="{$smarty.const.HOST_BACKEND}seo/index">Quản lý SEO</a> &raquo; Xem thông tin chi tiết.</h2></div>
                	<div class="secData">
                    	<table width="100%" cellpadding="0" cellspacing="0" border="0">
                        	<thead>
                            	<tr>
                                	<th width="20%">Trường dữ liệu</th>
                                    <th>Thông tin</th>
                                </tr>
                            </thead>
                            <tbody>
                            	<tr class="odd">
                                	<td>Trang:</td>
                                    <td><strong>{$row.name}</strong></td>
                                </tr>
                                <tr class="even">
                                	<td>Tiêu đề:</td>
                                    <td><strong>{$row.title}</strong></td>
                                </tr>
                            	<tr class="odd">
                                	<td>Từ khóa:</td>
                                    <td><strong>{$row.keywords}</strong></td>
                                </tr>
                                <tr class="even">
                                	<td>Mô tả:</td>
                                    <td>{$row.description}</td>
                                </tr>
                                <tr class="odd">
                                	<td>Ngày đăng:</td>
                                    <td><strong>{$row.postdate|date_format:"%d/%m/%y %H:%M:%S"}</strong></td>
                                </tr>
                                <tr class="even">
                                	<td>&nbsp;</td>
                                    <td>
                                    	<input type="button" value="Quay về trang trước" onclick="javascript:document.location.href='{$prefer}'" class="btnLarge" />
                                        {if ($smarty.session.seo&1<<2)>0}
                                        	<input type="button" value="Chỉnh sửa" onclick="javascript:document.location.href='{$smarty.const.HOST_BACKEND}seo/edit?seoid={$row.seoid}'" class="btn" />
                                        {/if}
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                </div>
          	</div>
        </div>
    </div>
{/if}
{include file="common/footer.tpl"}
                
